package middleware.datacontainer.groupPropertiesChange;

import java.io.Serializable;

public class GroupPropertiesContainer implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 2617784423536491789L;
	
	private Integer id;
	private String description;
	private int loanDuration;
	private float annualFee;
	private int lendingExtension;
	private int allowedNoOfExtension;
	
	public GroupPropertiesContainer(int id, String description, int loandDuration, float annualFee, int lendingExtension, int allowedNoOfExtension){
		this.id = id;
		this.description=description;
		this.loanDuration = loandDuration;
		this.annualFee = annualFee;
		this.lendingExtension = lendingExtension;
		this.allowedNoOfExtension = allowedNoOfExtension;
	}
	
	public int getId(){
		return id;
	}
	
	public int getLoanDuration(){
		return loanDuration;
	}
	public void setLoanDuration(int loandure){
		loanDuration=loandure;
	}
	
	public float getAnnualFee(){
		return annualFee;
	}
	
	public void setAnnualFee(float annualFee){
		this.annualFee = annualFee;
	}
	
	public int getLendingExtension(){
		return lendingExtension;
	}
	
	public void setLendingExtension(int lendingExtension){
		this.lendingExtension = lendingExtension;
	}
	
	public int getAllowedNoOfExtension(){
		return allowedNoOfExtension;
	}
	
	public void setAllowedNoOfExtension(int allowedNoOfExtension){
		this.allowedNoOfExtension = allowedNoOfExtension;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}
}
